package org.tim.spi;

import org.tio.core.ChannelContext;
import org.tio.core.intf.AioHandler;

import java.nio.ByteBuffer;

public interface Protocol extends AioHandler {
    boolean support(ByteBuffer byteBuffer, int i, int i1, int i2, ChannelContext channelContext);

    boolean support(ChannelContext channelContext);
}
